package com.example.emos.api.controller.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author ：Supyo
 * @date ：Created in 2021/11/14 6:02
 * @description：
 */
@Schema(description = "添加指标标准表单")
@Data
public class InsertRankForm {
    @NotEmpty(message = "title不能为空")
    private String title;
    /**
     * 排序号
     */
    private Integer sort;
    /**
     * 指标
     */
    @NotNull(message = "options")
    private Object options;
}
